<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" >
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Expires" content="0"/>
    <meta http-equiv="Pragma" content="no-cache"/>
    <meta http-equiv="Cache-Control" content="no-cache"/>
    <meta name="author" content="hiteam"/>
    <meta name="copyright" content="hiteam"/>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>日志信息</title>
    <link rel="stylesheet" th:href="@{/static/utils/bootstrap/css/bootstrap.css}" />
    <style type="text/css">
        .bs-callout {
            padding-top: 5px;
            padding-bottom: 5px;
            margin-top: 5px;
            margin-bottom: 10px;
        }

        body > .container {
            padding-top: 60px;
        }
    </style>
    <!-- 项目路径 -->
    <script th:inline="javascript">
        /*<![CDATA[*/
        var ctxPath = /*[[@{/}]]*/ '';
        /*]]>*/
    </script>
    <script type="text/javascript" th:src="@{/static/utils/jquery/jquery-3.1.1.min.js}"></script>
    <script type="text/javascript" th:src="@{/static/js/common/cysAjax.js}"></script>
    <script type="text/javascript" th:src="@{/static/js/log/info.js}"></script>
</head>
<body>
<header class="navbar navbar-default navbar-fixed-top navbar-static-top" id="top" role="banner">
    <div class="container">
        <div class="navbar-header">
            <a class="navbar-brand">日志</a>
        </div>
        <div id="navbar">
            <ul class="nav navbar-nav">
                <li class="active"><a>首页</a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                       aria-expanded="false">日志级别 <span class="caret"></span></a>
                    <ul class="dropdown-menu" id="logLevel">
                        <li data-value="ALL"><a>ALL</a></li>
                        <li data-value="TRACE"><a>TRACE</a></li>
                        <li data-value="DEBUG"><a>DEBUG</a></li>
                        <li data-value="INFO"><a>INFO</a></li>
                        <li data-value="WARN"><a>WARN</a></li>
                        <li data-value="ERROR"><a>ERROR</a></li>
                    </ul>
                </li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                       aria-expanded="false">日志名称 <span class="caret"></span></a>
                    <ul class="dropdown-menu" id="logName">
                        <li data-value="ALL"><a>ALL</a></li>
                        <li data-value="web-access"><a>web-access</a></li>
                        <li data-value="druid.sql"><a>druid.sql</a></li>
                        <li data-value="druid.sql.DataSource"><a>druid.sql.DataSource</a></li>
                        <li data-value="druid.sql.Connection"><a>druid.sql.Connection</a></li>
                        <li data-value="druid.sql.Statement"><a>druid.sql.Statement</a></li>
                        <li data-value="druid.sql.ResultSet"><a>druid.sql.ResultSet</a></li>
                    </ul>
                </li>
            </ul>

            <form class="navbar-form navbar-left" role="search">
                <div class="form-group">
                    <input type="text" class="form-control" id="keyWord" name="keyWord" placeholder="关键字">
                    <input type="text" class="form-control" id="userName" name="userName" placeholder="用户名">
                </div>
                <button class="btn btn-default" type="button" id="btnSubmit">Submit</button>
                <div class="btn-group" role="group" data-toggle="buttons">
                    <button type="button" class="btn btn-sm btn-success" id="btnStart">启动监听</button>
                    <button type="button" class="btn btn-sm btn-success" id="btnClose">停止监听</button>
                </div>
                <button type="button" class="btn btn-sm btn-success" id="btnClean">清理日志</button>
            </form>
        </div>
    </div>
</header>
<div class="container" id="main">
    <div id="logContainer" class="bs-example-bg-classes" data-example-id="contextual-backgrounds-helpers">
    </div>
</div>

</body>
</html>